/**
  ******************************************************************************
             Copyright(c) 2023 China Core Co. Ltd.
                      All Rights Reserved
  ******************************************************************************
  * @file    system_NVIC.h
  * @author  Product application department
  * @version V1.0
  * @date    2023.10.30
  * @brief   Header file of system_NVIC.
  *
  ******************************************************************************
*/

#ifndef __SYSTEM_NVIC_H__
#define __SYSTEM_NVIC_H__

#include "type.h"
#include "ccm4101.h" 

extern void NVIC_SetVectorTable(uint32_t NVIC_VectTab, uint32_t Offset);	//����ƫ�Ƶ�ַ
extern void NVIC_PriorityGroupConfig(uint8_t NVIC_Group);			//����NVIC����
extern void NVIC_Init(uint8_t NVIC_PreemptionPriority,uint8_t NVIC_SubPriority,uint8_t NVIC_Channel,uint8_t NVIC_Group);//�����ж�
extern void Ex_NVIC_Config(uint8_t GPIOx,uint8_t BITx,uint8_t TRIM);				//�ⲿ�ж����ú���(ֻ��GPIOA~I)
extern void NVIC_Clear(uint8_t NVIC_Channel);                   /*����ж�λ*/

//����Ϊ��ຯ��
extern void INTX_DISABLE(void);//�ر������ж�
extern void INTX_ENABLE(void);	//���������ж�
#endif  /* __SYSTEM_NVIC__ */


